/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package submarines.notices;

import submarines.Player;
import submarines.notices.Notice.NoticeType;

/**
 *
 * @author elad + shiran
 * Notification when player stops playing, either quit or lost the game.
 * has no special attributes or methods.
 */
public class NoticePlayerQuit extends Notice{
    
    public NoticePlayerQuit(Player sub, NoticeType type)
    {
        super(sub, type);
        this.description = "Player " + sub.getName() + " is no longer playing";
    }
}
